<!DOCTYPE html>
<html>
<meta charset="utf-8">
<head th:include="include :: header"></head>
<body class="gray-bg">
	<div class="wrapper wrapper-content ">
		<div class="row">
			<div class="col-sm-12">
				<div class="ibox float-e-margins">
					<div class="ibox-content">
						<form class="form-horizontal m-t" id="signupForm">
						<input id="id" name="id" th:value="${agent.id}"  type="hidden">
							<div class="form-group">	
								<label class="col-sm-2 control-label">代理商名称：</label>
								<div class="col-sm-4">
									<input id="name" name="name" th:value="${agent.name}" class="form-control" type="text">
								</div>
						
								<label class="col-sm-2 control-label">业务员：</label>
								<div class="col-sm-4">
									<select id="businessMan" name="businessMan" class="selectpicker" style="width:100%;height:34px">
										<option value="-1" selected>请选择业务员</option>
										<option th:each="user:${userList}" th:selected="(${user.userId}==${agent.businessMan})"  th:value="${user.userId}" th:text="${user.name}"></option>
									</select>
								</div>
							</div>
							<div class="form-group">	
								<label class="col-sm-2 control-label">31工作日价格：</label>
								<div class="col-sm-4">
									<input id="price31" name="price31" th:value="${agent.price31}" class="form-control" type="text">
								</div>
								
								<label class="col-sm-2 control-label">26工作日价格：</label>
								<div class="col-sm-4">
									<input id="price26" name="price26" th:value="${agent.price26}" class="form-control" type="text">
								</div>
							</div>
							<div class="form-group">	
								<label class="col-sm-2 control-label">21工作日价格：</label>
								<div class="col-sm-4">
									<input id="price21" name="price21" th:value="${agent.price21}" class="form-control" type="text">
								</div>
							
								<label class="col-sm-2 control-label">16工作日价格：</label>
								<div class="col-sm-4">
									<input id="price16" name="price16" th:value="${agent.price16}" class="form-control" type="text">
								</div>
							</div>
							<div class="form-group">	
								<label class="col-sm-2 control-label">11工作日价格：</label>
								<div class="col-sm-4">
									<input id="price11" name="price11" th:value="${agent.price11}" class="form-control" type="text">
								</div>
								
								<label class="col-sm-2 control-label">6工作日价格：</label>
								<div class="col-sm-4">
									<input id="price6" name="price6" th:value="${agent.price6}" class="form-control" type="text">
								</div>
							</div>
							<div class="form-group">	
								<label class="col-sm-2 control-label">5工作日价格：</label>
								<div class="col-sm-4">
									<input id="price5" name="price5" th:value="${agent.price5}" class="form-control" type="text">
								</div>
							
								<label class="col-sm-2 control-label">4工作日价格：</label>
								<div class="col-sm-4">
									<input id="price4" name="price4" th:value="${agent.price4}" class="form-control" type="text">
								</div>
							</div>
							<div class="form-group">	
								<label class="col-sm-2 control-label">3工作日价格：</label>
								<div class="col-sm-4">
									<input id="price3" name="price3" th:value="${agent.price3}" class="form-control" type="text">
								</div>
								
								<label class="col-sm-2 control-label">2工作日价格：</label>
								<div class="col-sm-4">
									<input id="price2" name="price2" th:value="${agent.price2}" class="form-control" type="text">
								</div>
							</div>
							<div class="form-group">	
								<label class="col-sm-2 control-label">1工作日价格：</label>
								<div class="col-sm-4">
									<input id="price1" name="price1" th:value="${agent.price1}" class="form-control" type="text">
								</div>
							
								<label class="col-sm-2 control-label">备用价格：</label>
								<div class="col-sm-4">
									<input id="price0" name="price0" th:value="${agent.price0}" class="form-control" type="text">
								</div>
							</div>
							<div class="form-group">	
								<label class="col-sm-2 control-label">备用字段：</label>
								<div class="col-sm-4">
									<input id="preserved" name="preserved" th:value="${agent.preserved}" class="form-control" type="text">
								</div>
							</div>
							<div class="form-group">
								<div class="col-sm-4 col-sm-offset-3">
									<input id="status" name="status" th:value="${agent.status}" class="form-control" type="hidden">

									<button type="submit" class="btn btn-primary">提交</button>
								</div>
							</div>
						</form>
					</div>
				</div>
			</div>
	</div>
	</div>
	<div th:include="include::footer"></div>
	<script type="text/javascript" src="/js/appjs/biz/agent/edit.js">
	</script>
</body>
</html>
